package com.epfresh.bean;

public class Feed {

    /*
    * {
  "wholeSaleMarketId": 3,
  "wholeSalesType": 1,
  "productExpressFee": 0.0,
  "productExpressFeeOriginal": 0.0,
  "productExpressFeeReduce": null,
  "productExpressFeeStartingPrice": 0.0
}
    * */


    private String wholeSaleMarketId;
    private Integer wholeSalesType;
    private float productExpressFee;
    private double productExpressFeeOriginal;
    private double productExpressFeeReduce;
    private float productExpressFeeStartingPrice;


    public double getProductExpressFeeOriginal() {
        return productExpressFeeOriginal;
    }

    public void setProductExpressFeeOriginal(double productExpressFeeOriginal) {
        this.productExpressFeeOriginal = productExpressFeeOriginal;
    }

    public double getProductExpressFeeReduce() {
        return productExpressFeeReduce;
    }

    public void setProductExpressFeeReduce(double productExpressFeeReduce) {
        this.productExpressFeeReduce = productExpressFeeReduce;
    }

    public float getProductExpressFeeStartingPrice() {
        return productExpressFeeStartingPrice;
    }

    public void setProductExpressFeeStartingPrice(float productExpressFeeStartingPrice) {
        this.productExpressFeeStartingPrice = productExpressFeeStartingPrice;
    }

    public int getWholeSalesType() {

        return wholeSalesType == null ? 1 :wholeSalesType;
    }

    public void setWholeSalesType(Integer wholeSalesType) {
        this.wholeSalesType = wholeSalesType;
    }

    public String getWholeSaleMarketId() {
        return wholeSaleMarketId;
    }

    public void setWholeSaleMarketId(String wholeSaleMarketId) {
        this.wholeSaleMarketId = wholeSaleMarketId;
    }

    public float getProductExpressFee() {
        return productExpressFee;
    }

    public void setProductExpressFee(float productExpressFee) {
        this.productExpressFee = productExpressFee;
    }

    @Override
    public String toString() {
        return "Feed{" +
                "wholeSaleMarketId='" + wholeSaleMarketId + '\'' +
                ", wholeSalesType=" + wholeSalesType +
                ", productExpressFee=" + productExpressFee +
                '}';
    }
}
